<?php /* Smarty version 2.6.18, created on 2010-04-13 00:15:20
         compiled from places/places_list.html */ ?>
<table border="1">
	<th>Order</th>
	<th>Name</th>
	<th>Address</th>
	<th>Type</th>
	<th>Status</th>
	<th>Action</th>
	
	<?php $_from = $this->_tpl_vars['placeList']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['phantu']):
?>
		<tr> 
			<td> <?php echo $this->_tpl_vars['phantu']['pla_id']; ?>
 </td>
			<td> <?php echo $this->_tpl_vars['phantu']['pla_name']; ?>
 </td>
			<td> <?php echo $this->_tpl_vars['phantu']['pla_address']; ?>
 </td>
			<td> <?php echo $this->_tpl_vars['phantu']['pla_type']; ?>
 </td>			
			<td> <?php echo $this->_tpl_vars['phantu']['pla_status']; ?>
 </td>		
			<td> 
				<a href="<?php echo @APPLICATION_URL; ?>
places/editForm/<?php echo $this->_tpl_vars['phantu']['pla_id']; ?>
">					
					edit 
				</a>
				| 
				<?php if ($this->_tpl_vars['phantu']['pla_status'] == 1): ?>
					<a href="<?php echo @APPLICATION_URL; ?>
places/inactive/<?php echo $this->_tpl_vars['phantu']['pla_id']; ?>
">					
							Inactive					
					</a> 
				<?php else: ?>
					<a href="<?php echo @APPLICATION_URL; ?>
places/active/<?php echo $this->_tpl_vars['phantu']['pla_id']; ?>
">					
							Active					
					</a> 
				<?php endif; ?>
			</td>	
				
		</tr>
	<?php endforeach; endif; unset($_from); ?>
</table>